-
Home
-
Vitepos – Point of sale (POS) for WooCommerce
-
1.2
-
Code
-
Classes
- API_Base
Total Complexity |
43 |
Dependencies |
8 |
Dependents |
0 |
Total lines |
425 |
Lines of code |
155 |
Logical lines of code |
80 |
Comment lines |
221 |
Methods |
24 |
Properties |
14 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
load_payload() |
A |
52 |
8 |
23 |
set_outlet_location() |
S |
59 |
5 |
16 |
register_rest_route() |
S |
51 |
4 |
27 |
get_outlet_obj() |
S |
70 |
3 |
6 |
get_counter_obj() |
S |
70 |
3 |
6 |
__construct() |
S |
55 |
1 |
19 |
get_payload() |
S |
78 |
2 |
3 |
set_response() |
S |
74 |
1 |
5 |
__destruct() |
S |
80 |
1 |
3 |
set_api_base() |
S |
100 |
1 |
0 |
routes() |
S |
100 |
1 |
0 |
add_warning() |
S |
71 |
1 |
5 |
add_debug() |
S |
78 |
1 |
3 |
add_info() |
S |
71 |
1 |
5 |
add_error() |
S |
71 |
1 |
5 |
filter_for_api() |
S |
91 |
1 |
2 |
current_outlet_filter() |
S |
81 |
1 |
3 |
get_current_user_id() |
S |
82 |
1 |
3 |
get_counter_id() |
S |
82 |
1 |
3 |
get_outlet_id() |
S |
82 |
1 |
3 |
set_outlet() |
S |
71 |
1 |
6 |
set_vite_pos_request() |
S |
80 |
1 |
3 |
query_search_filter() |
S |
82 |
1 |
3 |
set_route_permission() |
S |
81 |
1 |
3 |